package com.linked.commonentity.basemanage.pass.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @author :dbq
 * @date : 2023/3/27 10:52
 * @description : 通用日志-已废弃
 */
@Data
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public class GeneralLogInfo {

    private String logPosition;

    private String positionName;

    private Integer logOrder;

    private String logProject;

    private String methodParam;

    private String remarks;

    private String traceId;


    public static GeneralLogInfo Builder() {
        return new GeneralLogInfo();
    }

    public GeneralLogInfo withLogPosition(String logPosition) {
        this.setLogPosition(logPosition);
        return this;
    }

    public GeneralLogInfo withLogOrder(Integer logOrder) {
        this.setLogOrder(logOrder);
        return this;
    }

    public GeneralLogInfo withLogProject(String logProject) {
        this.setLogProject(logProject);
        return this;
    }

    public GeneralLogInfo withMethodParam(String methodParam) {
        this.setMethodParam(methodParam);
        return this;
    }

    public GeneralLogInfo withRemarks(String remarks) {
        this.setRemarks(remarks);
        return this;
    }

    public GeneralLogInfo withTraceId(String traceId) {
        this.setTraceId(traceId);
        return this;
    }
    public GeneralLogInfo withPositionName(String positionName) {
        this.setPositionName(positionName);
        return this;
    }
}
